﻿using Newtonsoft.Json;
using System.Collections.Generic;

namespace Timeline.Beans {
    public class GluttonApi {
        [JsonProperty(PropertyName = "status")]
        public int Status { set; get; }

        [JsonProperty(PropertyName = "msg")]
        public string Msg { set; get; }

        [JsonProperty(PropertyName = "data")]
        public List<GluttonApiData> Data { set; get; }

        [JsonProperty(PropertyName = "extend")]
        public GluttonApiExtend Extend { set; get; }

        [JsonProperty(PropertyName = "auth")]
        public AccountApi Auth { set; get; }
    }

    public class GluttonApiData : GeneralApiData {
        // 期数
        [JsonProperty(PropertyName = "phase")]
        public int Phase { set; get; }
    }

    public class GluttonApiExtend {
        [JsonProperty(PropertyName = "status")]
        public int Status { set; get; }

        [JsonProperty(PropertyName = "msg")]
        public string Msg { set; get; }

        [JsonProperty(PropertyName = "data")]
        public List<GluttonApiData> Data { set; get; }
    }
}
